package org.zfes.snowier.cloud.zbss.cms.content.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsContentCharge extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsContentCharge() {}
	public CmsContentCharge(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	@javax.validation.constraints.NotNull(message="不能为空")
	  private java.lang.Long contentId;
 
	@javax.validation.constraints.NotNull(message="收费金额不能为空")
	 @javax.validation.constraints.Digits(integer=9,fraction=2,message="收费金额数据精度错误") 
	private java.lang.Double chargeAmount;
 
	@javax.validation.constraints.NotNull(message="已累计收费不能为空")
	
	 @javax.validation.constraints.Digits(integer=9,fraction=2,message="已累计收费数据精度错误") 
	private java.lang.Double totalAmount;
 
	@javax.validation.constraints.NotNull(message="年金额不能为空")
	 @javax.validation.constraints.Digits(integer=9,fraction=2,message="年金额数据精度错误") 
	private java.lang.Double yearAmount;
 
	@javax.validation.constraints.NotNull(message="月金额不能为空")
	
	 @javax.validation.constraints.Digits(integer=9,fraction=2,message="月金额数据精度错误")
	private java.lang.Double monthAmount;
 
	@javax.validation.constraints.NotNull(message="日金额不能为空")
	
	 @javax.validation.constraints.Digits(integer=9,fraction=2,message="日金额数据精度错误") 
	private java.lang.Double dayAmount;
 
	
	  private java.util.Date lastBuyTime;
 
	@javax.validation.constraints.NotNull(message="模式不能为空")
	
	  private java.lang.Byte chargeReward;
 
	@javax.validation.constraints.NotNull(message="随机 最小值不能为空")
	
	 @javax.validation.constraints.Digits(integer=9,fraction=2,message="随机 最小值数据精度错误")
	private java.lang.Double rewardRandomMin;
 
	@javax.validation.constraints.NotNull(message="随机 最大值不能为空")
	 @javax.validation.constraints.Digits(integer=9,fraction=2,message="随机 最大值数据精度错误")
	private java.lang.Double rewardRandomMax;
 
	@javax.validation.constraints.NotNull(message="打赏模式不能为空")
	  private java.lang.Byte rewardPattern;
 
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	  private java.util.Date updateTime;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	  private java.util.Date createTime;
 
	
	//<-------------------------------------------->
	public CmsContentCharge setContentId(java.lang.Long contentId){
	 this.contentId=contentId;
	 return this;
	}
	public java.lang.Long getContentId(){
		return this.contentId;
	}
	public CmsContentCharge setChargeAmount(java.lang.Double chargeAmount){
	 this.chargeAmount=chargeAmount;
	 return this;
	}
	public java.lang.Double getChargeAmount(){
		return this.chargeAmount;
	}
	public CmsContentCharge setTotalAmount(java.lang.Double totalAmount){
	 this.totalAmount=totalAmount;
	 return this;
	}
	public java.lang.Double getTotalAmount(){
		return this.totalAmount;
	}
	public CmsContentCharge setYearAmount(java.lang.Double yearAmount){
	 this.yearAmount=yearAmount;
	 return this;
	}
	public java.lang.Double getYearAmount(){
		return this.yearAmount;
	}
	public CmsContentCharge setMonthAmount(java.lang.Double monthAmount){
	 this.monthAmount=monthAmount;
	 return this;
	}
	public java.lang.Double getMonthAmount(){
		return this.monthAmount;
	}
	public CmsContentCharge setDayAmount(java.lang.Double dayAmount){
	 this.dayAmount=dayAmount;
	 return this;
	}
	public java.lang.Double getDayAmount(){
		return this.dayAmount;
	}
	public CmsContentCharge setLastBuyTime(java.util.Date lastBuyTime){
	 this.lastBuyTime=lastBuyTime;
	 return this;
	}
	public java.util.Date getLastBuyTime(){
		return this.lastBuyTime;
	}
	public CmsContentCharge setChargeReward(java.lang.Byte chargeReward){
	 this.chargeReward=chargeReward;
	 return this;
	}
	public java.lang.Byte getChargeReward(){
		return this.chargeReward;
	}
	public CmsContentCharge setRewardRandomMin(java.lang.Double rewardRandomMin){
	 this.rewardRandomMin=rewardRandomMin;
	 return this;
	}
	public java.lang.Double getRewardRandomMin(){
		return this.rewardRandomMin;
	}
	public CmsContentCharge setRewardRandomMax(java.lang.Double rewardRandomMax){
	 this.rewardRandomMax=rewardRandomMax;
	 return this;
	}
	public java.lang.Double getRewardRandomMax(){
		return this.rewardRandomMax;
	}
	public CmsContentCharge setRewardPattern(java.lang.Byte rewardPattern){
	 this.rewardPattern=rewardPattern;
	 return this;
	}
	public java.lang.Byte getRewardPattern(){
		return this.rewardPattern;
	}
	public CmsContentCharge setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsContentCharge setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CmsContentCharge setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}

}
